-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(material/chips): add opt-out for single-select checkmarks #26338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
crisbeto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a few nits.
bfd2910 to
fe8b637
Compare
|
Changes since this was last reviewed
|
Add an opt-out for checkmark indicators for single-selection. Add both and Input and DI token to specify if checkmark indicators are hidden for single-select. By default display checkmark indicators for single-selection. If both DI token and Input are specified, the Input wins. PR angular#25890 adds checkmork indicator for single selection. Add an opt-out to provide a way to have same appearance as before angular#25890. Does not affect multiple-selection. Does not affect behavior when avatar is provided. When avatar is provided, display checkmark indicator when selected. This is the same behavior as before angular#25890. API Changes - Add `@Input hideSingleSelectionIndicator` to specify if checkmark indicator is displayed for single-selection - Add `hideSingleSelectionIndicator` property to `MatChipsDefaultOptions`, which specifies default value for `hideSingleSelectionIndicator`.
Update the accessibility section on checkmark indicators for single-selection. Add instructions to always communicate selection with icon indicators. Fulfill documentation needs as follow-up for angular#25890 and angular#26338.
Update the accessibility section on checkmark indicators for single-selection. Add instructions to always communicate selection with icon indicators. Fulfill documentation needs as follow-up for angular#25890 and angular#26338.
Update the accessibility section on checkmark indicators for single-selection. Add instructions to always communicate selection with icon indicators. Fulfill documentation needs as follow-up for angular#25890 and angular#26338.
Update the accessibility section on checkmark indicators for single-selection. Add instructions to always communicate selection with icon indicators. Fulfill documentation needs as follow-up for angular#25890 and angular#26338.
Update the accessibility section on checkmark indicators for single-selection. Add instructions to always communicate selection with icon indicators. Fulfill documentation needs as follow-up for angular#25890 and angular#26338.
Update the accessibility section on checkmark indicators for single-selection. Add instructions to always communicate selection with icon indicators. Fulfill documentation needs as follow-up for angular#25890 and angular#26338.
Update the accessibility section on checkmark indicators for single-selection. Add instructions to always communicate selection with icon indicators. Fulfill documentation needs as follow-up for angular#25890 and angular#26338.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Add an opt-out for checkmark indicators for single-selection. Add both and Input and DI token to specify if checkmark indicators are hidden for single-select. By default display checkmark indicators for single-selection. If both DI token and Input are specified, the Input wins.
PR #25890 adds checkmork indicator for single selection. Add an opt-out to provide a way to have same appearance as before #25890.
Does not affect multiple-selection.
Does not affect behavior when avatar is provided. When avatar is provided, display checkmark indicator when selected. This is the same behavior as before #25890.
API Changes
@Input hideSingleSelectionIndicatorto specify if checkmark indicator is displayed for single-selectionhideSingleSelectionIndicatorproperty toMatChipsDefaultOptions, which specifies default value forhideSingleSelectionIndicator.